@include('layouts.Common.header')
<div class="card card-primary card-outline card-outline-tabs">
    <div class="card-header p-0 border-bottom-0">
        <ul class="nav nav-tabs" id="custom-tabs-four-tab" role="tablist">
            <li class="nav-item">
                <a class="nav-link active" id="custom-tabs-four-home-tab" data-toggle="pill"
                    href="#custom-tabs-four-home" role="tab" aria-controls="custom-tabs-four-home"
                    aria-selected="false">系统配置</a>
            </li>

            <li class="nav-item">
                <a class="nav-link" id="custom-tabs-four-messages-tab" data-toggle="pill"
                    href="#custom-tabs-four-messages" role="tab" aria-controls="custom-tabs-four-messages"
                    aria-selected="true">系统信息</a>
            </li>
        </ul>
    </div>
    <div class="card-body">
        <div class="tab-content" id="custom-tabs-four-tabContent">
            <div class="tab-pane fade  active show" id="custom-tabs-four-home" role="tabpanel"
                aria-labelledby="custom-tabs-four-home-tab">
                <div class="col-md-6">
                    <div class="card">
                        <div class="card-header">
                            <h1 class="card-title">基础信息</h1>
                        </div>
                        <form>
                            <div class="card-body">
                                <div class="form-group">
                                    <label for="name">系统名称</label>
                                    <input type="text" class="form-control" id="name">
                                </div>
                                <div class="form-group">
                                    <label for="exampleInputFile">LOG</label>
                                    <div class="input-group">
                                        <div class="custom-file">
                                            <input type="file" class="custom-file-input" id="exampleInputFile">
                                            <label class="custom-file-label" for="exampleInputFile">选择文件</label>
                                        </div>
                                        <div class="input-group-append">
                                            <span class="input-group-text">上传</span>
                                        </div>
                                    </div>
                                </div>
                                <div class="form-group">
                                    <label for="URL">URL</label>
                                    <input type="URL" class="form-control" id="URL">
                                </div>

                            </div>
                            <!-- /.card-body -->

                            <div class="card-footer">
                                <button type="submit" class="btn btn-primary">保存</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>

            <div class="tab-pane fade" id="custom-tabs-four-messages" role="tabpanel"
                aria-labelledby="custom-tabs-four-messages-tab">
                <div class="col-md-6">
                    <div class="card">
                        <div class="card-header">
                            <h1 class="card-title">系统信息</h1>
                        </div>
                        <table class="table table-hover text-nowrap">

                            <tr>
                                <th class=text-right>LARAVEL版本：</th>
                                <td>
                                    {{ $sysinfo['laravel'] }}
                                </td>
                            </tr>
                            <tr>
                                <th class=text-right>服务器标识</th>
                                <td>
                                    {{ $sysinfo['os'] }}
                                </td>
                            </tr>
                            <tr>
                                <th class=text-right>PHP版本：</th>
                                <td>
                                    {{ $sysinfo['version'] }}
                                </td>
                            </tr>
                            <tr>
                                <th class=text-right>服务器时间：</th>
                                <td>
                                    {{ $sysinfo['time'] }}
                                </td>
                            </tr>
                            <tr>
                                <th class=text-right>主机名：</th>
                                <td>
                                    {{ $sysinfo['pc'] }}
                                </td>
                            </tr>
                            <tr>
                                <th class=text-right>系统版本：</th>
                                <td>
                                    {{ $sysinfo['osname'] }}
                                </td>
                            </tr>
                            <tr>
                                <th class=text-right>服务器语言：</th>
                                <td>
                                    {{ $sysinfo['language'] }}
                                </td>
                            </tr>
                            <tr>
                                <th class=text-right>端口：</th>
                                <td>
                                    {{ $sysinfo['port'] }}
                                </td>
                            </tr>
                            <tr>
                                <th class=text-right>最大上传：</th>
                                <td>
                                    {{ $sysinfo['max_upload'] }}
                                </td>
                            </tr>
                            <tr>
                                <th class=text-right>执行时间：</th>
                                <td>
                                    {{ $sysinfo['max_ex_time'] }}
                                </td>
                            </tr>
                            <tr>
                                <th class=text-right>mysql 版本：</th>
                                <td>
                                    {{ $sysinfo['mysql_version'] }}
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- /.card -->
</div>
